﻿body{
max-width: 100%;
overflow-x: hidden;
margin:0;
background: white;
font-family: arial;
font-size: 16px;
text-align: center;
}
.Menu{
  display:flex;
  gap:50px;
  padding:25px;
  position: relative;
  text-decoration: none;
  font-size: 10px;
}
.container{
  width: 95%;
  max-width: 1400px;
  margin: 0 auto;
}
.top-header {
 background: #caeaff;
 color: #caeaff;
 position: absolute;
 padding: 15px 10 ;
 left: 0;
 right: 0;
 transition: top 0.15s ease;
}
.top-header a{
    color: #04809c;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif !important;
}
.btn{  
  padding: 10px 20px;
  margin: 10px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}
/* 3. Border Reveal */
.btn-border-reveal:hover {
  color: rgb(1, 1, 1);
}
/* Termina el boton conocenos*/
.main-header{
  background: #ffffff;
  padding: 0.01rem;
  position: fixed;
  top: 55px;
  left: 0;
  right: 0;
  z-index: 999;
}
.main-header a{
  color: #0e5164;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif !important;
}
.logo-nav-container{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo{
  letter-spacing: 5px;
  font-size: 1.2em;
}
.main{
  padding-top: 200px; /* EL ESPACIO DE SEPARACION ANTES DE INICIAR EL CONTENIDO */
}
.footer{
 background: #7d7575;
 color: #ffffff; 
}
.transparencias a{
    color:#ffffff;
}
.transparencias a:hover{
    color:#ddd;
}

/*-----------------------------------
  esta animacion hace una linea por debajo cuando el mouse se posa sobre el
  ------------------------------------*/
.underline-opening {
    margin-bottom: 15px !important;
    font-size: 1px !important;
    position: relative;
    display: inline-block;
}
.underline-opening::after,
.underline-opening::before {
    content: "";
    position: absolute;
    width: 0px;
    height: 3px;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    background: #147591;
    transition: width 0.3s ease;
}
.underline-opening:hover::after,
.underline-opening:hover::before {
    width: 100%;
}
/*----------TERMINA LA LINEA-------------------------*/

/* MENU DESPLEGABLE*/
.btn-top{
    background: transparent;
    border: none;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 17px;
    font-weight: 400;
    color: #04809c;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}
.dropdown {
  display: inline-block;
  position: relative;
}
.btn-menu{  
  border: none;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 17px; /*tamaño de la letra*/
  letter-spacing: 1.2px;
  cursor: pointer;
  background: none;
  color: #0e5164;
  font-weight: bold;
  padding: 10px;
  width: 110%; /*Largo del recuadro*/
  border-radius: 1px;
}
.btn-menu:hover{
  display: block;
  background-color: transparent;
  border-radius: 10px;
}
.conten{ 
    display:none;
    position:absolute;
    font-family: arial;
    font-size: 15px;
    top:60px;
    left:0;
    background:#ffffff;
    min-width:100px;
    box-shadow:0px 5px 10px rgba(0,0,0,0.2);
    z-index: 1000;
}
/***************** menu Responsive*************/
.menu-items {
    display: flex;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.abrir-menu {
    display: none;
    background: transparent;
    border: none;
    padding: 10px;
    cursor: pointer;
    color: #f87902;
    font-size: 35px;
    z-index: 999;
}
.abrir-menu:hover {
    color: #db700c;
}
.cerrar-menu {
    display: none;
    background: transparent;
    border: none;
    padding: 10px;
    cursor: pointer;
    color: #ffffff;
    font-size: 35px;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
}
/* Overlay para fondo oscuro */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 998;
    display: none;
}
.menu-overlay.mostrar {
    display: block;
}
/* Estilos responsivos */
@media only screen and (max-width: 1100px) {
    .abrir-menu {
        display: block;
    }   
    .cerrar-menu {
        display: block;
    }    
    .Menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background-color: #04809c;
        z-index: 999;
        transition: right 0.3s ease;
        padding: 60px 20px 20px 20px;
        overflow-y: auto;
    }   
    .Menu.mostrar-menu {
        right: 0;
    }   
    .menu-items {
        flex-direction: column;
        gap: 10px;
    }    
    .menu-items .dropdown {
        width: 100%;
    }
    .menu-items .btn-menu {
        width: 100%;
        text-align: left;
        padding: 12px 15px;
        color: #ffffff !important;
        background: rgba(255,255,255,0.1);
        border-radius: 5px;
    }   
    .menu-items .conten {
        position: static;
        background-color: rgba(0,0,0,0.3);
        box-shadow: none;
        width: 100%;
        margin-top: 5px;
        border-radius: 5px;
    }   
    .menu-items .conten a {
        color: #ffffff !important;
        padding: 10px 20px;
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }   
    .menu-items .conten a:hover {
        background-color: rgba(255,255,255,0.2);
    }
}
/* Estilos para desktop (opcional) */
@media only screen and (min-width: 1001px) {
    .cerrar-menu {
        display: none !important;
    }
}

/* Termina el menu responsive*/

/* Links */
.conten a{
    display:block;
    padding:12px;
    text-decoration:none;
    color: #04809c;
}
.conten a:hover{
    background: #caeaff;
} 
.mostrar{
    display:block;
}

/* Blur */
.hover07 figure img {
	-webkit-filter: blur(3px);
	filter: blur(3px);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.hover07 figure:hover img {
	-webkit-filter: blur(0);
	filter: blur(0);
}
/*=============NOTICIAS Y EVENTOS=================== */

/* ===== CARD ===== */
.New-card{
    display:flex;
    flex-direction:column;
    overflow:hidden;
    background:#ffffff;
    border-radius:10px;
    box-shadow:0 3px 7px rgba(0,0,0,0.1);
    margin:20px auto;
    height: 150px;
    width:100%;
    transition:0.3s;
}
/* ===== IMAGEN ===== */
.New-card .mental{
    position:relative;
    height:50px;
    overflow:hidden;
}
.New-card .FOTO{
    height: 160px;
    width:350px;
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    transition:transform 0.4s;
}
.New-card:hover .FOTO{
    transform:scale(1.1);
}
/* ===== DESCRIPTION ===== */
.New-card .Descripcion{
    padding:25px;
}
.New-card .Descripcion h1{
    font-size:2rem;
    margin-bottom:10px;
}
.New-card .Descripcion h2{
    font-size:1rem;
    margin-bottom:20px;
    text-transform:uppercase;
}
.New-card .Descripcion p{
    line-height:1.6;
    margin-bottom:20px;
}
/* ===== RESPONSIVE ===== */
@media (min-width:768px){
    .New-card{
        flex-direction:row;
    }
    .New-card .mental{
        width:40%;
        height:auto;
        min-height:300px;
    }
    .New-card .Descripcion{
        width:60%;
    }
}
/* ===== BOTON ===== */
.Leer-mas{
    text-align:right;
}
.Leer-mas a{
    color:#0e5164;
    text-decoration:none;
    font-weight:bold;
    transition:0.3s;
}
.Leer-mas a:hover{
    color:#04809c;
}

/* CARDS PRINCIPAL DE NOTICIAS DESTACADAS*/
/* ===== CONTENEDOR ===== */
.blog-card{
    width:350px;
    background:#ffffff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,0.15);
    transition:0.3s;
    margin:20px;
}
.blog-card:hover{
    transform:translateY(-5px);
}
/* ===== IMAGEN ===== */
.meta{
    position:relative;
    height:220px;
    overflow:hidden;
}
.photo{
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center;
    transition:0.4s;
}
.blog-card:hover .photo{
    transform:scale(1.08);
}
/* ===== OVERLAY ===== */
.details{
    position:absolute;
    bottom:0;
    width:100%;
    background:rgba(0,0,0,0.65);
    color:#ffffff;
    padding:15px;
    list-style:none;
}
.details a{
    color:#ffffff;
    text-decoration:none;
}
/* ===== TEXTO ===== */
.description{
    padding:20px;
}
.description h1{
    font-size:1.5rem;
    margin-bottom:10px;
    color:#04809c;
}
.description h2{
    font-size:0.9rem;
    color:#04a7cb;
    margin-bottom:15px;
    text-transform:uppercase;
}
.description p{
    color:#444;
    line-height:1.6;
    margin-bottom:20px;
    font-family: 'Montserrat', sans-serif !important;
}
/* ===== BOTON ===== */
.read-more{
    text-align:right;
}
.read-more a{
    color:#0e5164;
    text-decoration:none;
    font-weight:bold;
    transition:0.3s;
}
.read-more a:hover{
    color:#04809c;
}
.news-container{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:20px;
}
/* CARDS simposio y conimi*/ 
 /* Frase destacada */
.cardfrase {
    background: #eef8fc;
    padding: 20px;
    border-radius: 12px;
    margin-top: 30px;
    border-left: 5px solid #04809c;
    font-family: 'Montserrat', sans-serif !important;
}
.cardfrase2 {
    background: #eef8fc;
    padding: 20px;
    border-radius: 12px;
    margin-top: 30px;
    border-right: 5px solid #04809c;
    font-family: 'Montserrat', sans-serif !important;
}